package com.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mapper.auto.ElectiveCourseInfoMapper;
import com.model.auto.ElectiveCourseInfo;
import com.service.IElectiveCourseInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Service
public class ElectiveCourseInfoServiceImpl extends ServiceImpl<ElectiveCourseInfoMapper, ElectiveCourseInfo> implements IElectiveCourseInfoService {
    @Autowired
    private ElectiveCourseInfoMapper electiveCourseInfoMapper;

    @Override
    public List<ElectiveCourseInfo> getSchoolNameList() {
        return electiveCourseInfoMapper.getSchoolNameList();
    }

    @Override
    public List<ElectiveCourseInfo> getMajorNameList() {
        return electiveCourseInfoMapper.getMajorNameList();
    }
}
